package com.linux.huhx.thread3.singleDesign_1;

/**
 * @Author: huhx
 * @Date: 2017-10-31 下午 4:59
 */
public class MyObject8 {
    private static MyObject8 myObject = null;

    static {
        myObject = new MyObject8();
    }

    private MyObject8() {}

    public static MyObject8 getInstance() {
        return myObject;
    }
}
